#ifndef PACKETLIST_H
#define PACKETLIST_H
//
#include <QList>
#include "packetitem.h"
//
class PacketList : public QObject {
		Q_OBJECT
	public:
		PacketList ( QObject *parent = 0 );
		~PacketList();
		int count() const;
		PacketItem * getPacket ( int i );
		void initPackets ( const QString &category = QString() );
	private:
		QList<PacketItem*> packetList;
		void parsePackets ( const QString &category_dir );

};
#endif
